IF(ZLIB_FOUND)
    ADD_DEFINITIONS(-DUSE_ZLIB)
    INCLUDE_DIRECTORIES( ${ZLIB_INCLUDE_DIR})
ENDIF()


SET(TARGET_SRC
    AlphaFunc.cpp
    AnimationPathCallback.cpp
    AnimationPath.cpp
    AnisotropicLighting.cpp
    AutoTransform.cpp
    AzimElevationSector.cpp
    AzimSector.cpp
    Billboard.cpp
    BlendColor.cpp
    BlendEquation.cpp
    BlendFunc.cpp
    BlinkSequence.cpp
    BumpMapping.cpp
    Camera.cpp
    CameraView.cpp
    Cartoon.cpp
    ClipNode.cpp
    ClipPlane.cpp
    ClusterCullingCallback.cpp
    ColorMask.cpp
    CompositeLayer.cpp
    ConeSector.cpp
    ConvexPlanarOccluder.cpp
    ConvexPlanarPolygon.cpp
    CoordinateSystemNode.cpp
    CullFace.cpp
    DataInputStream.cpp
    DataOutputStream.cpp
    Depth.cpp
    DirectionalSector.cpp
    DOFTransform.cpp
    Drawable.cpp
    DrawArrayLengths.cpp
    DrawArrays.cpp
    DrawElementsUByte.cpp
    DrawElementsUInt.cpp
    DrawElementsUShort.cpp
    Effect.cpp
    ElevationSector.cpp
    EllipsoidModel.cpp
    Exception.cpp
    FadeText.cpp
    Fog.cpp
    FragmentProgram.cpp
    FrontFace.cpp
    Geode.cpp
    Geometry.cpp
    Group.cpp
    HeightFieldLayer.cpp
    Image.cpp
    ImageLayer.cpp
    ImageSequence.cpp
    Impostor.cpp
    Layer.cpp
    Light.cpp
    LightModel.cpp
    LightPoint.cpp
    LightPointNode.cpp
    LightSource.cpp
    LineStipple.cpp
    LineWidth.cpp
    Locator.cpp
    LOD.cpp
    Material.cpp
    MatrixTransform.cpp
    Multisample.cpp
    MultiSwitch.cpp
    MultiTextureControl.cpp
    Node.cpp
    Object.cpp
    OccluderNode.cpp
    OcclusionQueryNode.cpp
    PagedLOD.cpp
    Point.cpp
    PointSprite.cpp
    PolygonMode.cpp
    PolygonOffset.cpp
    PolygonStipple.cpp
    PositionAttitudeTransform.cpp
    PrimitiveSet.cpp
    Program.cpp
    ProxyNode.cpp
    ReaderWriterIVE.cpp
    Scissor.cpp
    Scribe.cpp
    Sequence.cpp
    ShadeModel.cpp
    Shader.cpp
    ShapeAttributeList.cpp
    Shape.cpp
    ShapeDrawable.cpp
    SpecularHighlights.cpp
    StateSet.cpp
    Stencil.cpp
    StencilTwoSided.cpp
    Switch.cpp
    SwitchLayer.cpp
    Terrain.cpp
    TerrainTile.cpp
    TexEnvCombine.cpp
    TexEnv.cpp
    TexGen.cpp
    TexGenNode.cpp
    TexMat.cpp
    Text3D.cpp
    Text.cpp
    Texture1D.cpp
    Texture2D.cpp
    Texture2DArray.cpp
    Texture3D.cpp
    Texture.cpp
    TextureCubeMap.cpp
    TextureRectangle.cpp
    Transform.cpp
    Uniform.cpp
    VertexProgram.cpp
    Viewport.cpp
    VisibilityGroup.cpp
    VolumeCompositeLayer.cpp
    VolumeCompositeProperty.cpp
    VolumeSwitchProperty.cpp
    VolumeScalarProperty.cpp
    VolumeTransferFunctionProperty.cpp
    VolumePropertyAdjustmentCallback.cpp
    Volume.cpp
    VolumeImageLayer.cpp
    VolumeLayer.cpp
    VolumeLocator.cpp
    VolumeTile.cpp
)
SET(TARGET_H
    AlphaFunc.h
    AnimationPathCallback.h
    AnimationPath.h
    AnisotropicLighting.h
    AutoTransform.h
    AzimElevationSector.h
    AzimSector.h
    Billboard.h
    BlendColor.h
    BlendFunc.h
    BlinkSequence.h
    BumpMapping.h
    Camera.h
    CameraView.h
    Cartoon.h
    ClipNode.h
    ClipPlane.h
    ClusterCullingCallback.h
    ColorMask.h
    CompositeLayer.h
    ConeSector.h
    ConvexPlanarOccluder.h
    ConvexPlanarPolygon.h
    CoordinateSystemNode.h
    CullFace.h
    DataInputStream.h
    DataOutputStream.h
    DataTypeSize.h
    Depth.h
    DirectionalSector.h
    DOFTransform.h
    Drawable.h
    DrawArrayLengths.h
    DrawArrays.h
    DrawElementsUByte.h
    DrawElementsUInt.h
    DrawElementsUShort.h
    Effect.h
    ElevationSector.h
    EllipsoidModel.h
    Exception.h
    FadeText.h
    Fog.h
    FragmentProgram.h
    FrontFace.h
    Geode.h
    Geometry.h
    Group.h
    HeightFieldLayer.h
    Image.h
    ImageLayer.h
    ImageSequence.h
    Impostor.h
    IveVersion.h
    Layer.h
    Light.h
    LightModel.h
    LightPoint.h
    LightPointNode.h
    LightSource.h
    LineStipple.h
    LineWidth.h
    Locator.h
    LOD.h
    Material.h
    MatrixTransform.h
    MultiSwitch.h
    MultiTextureControl.h
    Node.h
    Object.h
    OccluderNode.h
    OcclusionQueryNode.h
    PagedLOD.h
    Point.h
    PointSprite.h
    PolygonMode.h
    PolygonOffset.h
    PolygonStipple.h
    PositionAttitudeTransform.h
    PrimitiveSet.h
    Program.h
    ProxyNode.h
    ReadWrite.h
    Scissor.h
    Scribe.h
    Sequence.h
    ShadeModel.h
    Shader.h
    ShapeAttributeList.h
    ShapeDrawable.h
    Shape.h
    SpecularHighlights.h
    StateSet.h
    Stencil.h
    StencilTwoSided.h
    Switch.h
    SwitchLayer.h
    Terrain.h
    TerrainTile.h
    TexEnvCombine.h
    TexEnv.h
    TexGen.h
    TexGenNode.h
    TexMat.h
    Text3D.h
    Text.h
    Texture1D.h
    Texture2D.h
    Texture2DArray.h
    Texture3D.h
    TextureCubeMap.h
    Texture.h
    TextureRectangle.h
    Transform.h
    Uniform.h
    VertexProgram.h
    Viewport.h
    VisibilityGroup.h
    VolumeCompositeLayer.h
    VolumeCompositeProperty.h
    VolumeSwitchProperty.h
    VolumeScalarProperty.h
    VolumeTransferFunctionProperty.h
    VolumePropertyAdjustmentCallback.h
    Volume.h
    VolumeImageLayer.h
    VolumeLayer.h
    VolumeLocator.h
    VolumeTile.h
)
SET(TARGET_ADDED_LIBRARIES osgSim osgFX osgText osgTerrain osgVolume)

IF(ZLIB_FOUND)
    SET(TARGET_LIBRARIES_VARS ZLIB_LIBRARIES)
ENDIF()

#### end var setup  ###
SETUP_PLUGIN(ive)
